package com.ruoyi.system.utils;

/**
 * Created by zhangjunzhe on 2018/8/7.
 */
public class Result<T> {

    private Integer code;//成功 : 0  失败 ： -99

    private String msg;//成功/失败 信息 '' 失败 '用户未登录'

    private T data;//空  成功  List<TUser>


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
